package mblog.core.persist.dao;

import mblog.core.persist.entity.ResourceAttachPO;
import mtons.modules.persist.BaseRepository;

import java.util.List;

public interface ResourceAttachDao extends BaseRepository<ResourceAttachPO> {
    void deleteByPostId(long postId);

    List<ResourceAttachPO> findByPostId(long postId);
}
